import { createApp } from "vue";
import App from "./App.vue";
const app = createApp(App)

// 全局引入
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
app.use(ElementPlus)


// 引入全局组件，批量注册
import PublicForm from "@/components/PublicForm.vue";

let eleComponents = {
  install: (Vue) => {
    Vue.component('PublicForm',PublicForm)
  },
};

app.use(eleComponents);
app.mount("#app");
